package com.cxy.book.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cxy.book.pojo.User;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author 蔡心勇
 */
@Repository
public interface UserDao extends BaseMapper<User> {

    @Select("select * from t_user")
    List<User> queryUsers();
}
